// 封装本地存储

const KEY = 'good-house-token'

export const setToken = (newToken) => {
  localStorage.setItem(KEY, newToken)
}
// 获取
export const getToken = () => {
  return localStorage.getItem(KEY)
}
// 删除
export const delToken = () => {
  return localStorage.removeItem(KEY)
}
